import http from '../http'

export const getMsgRecord = (AppBizId,count,sessionId) => {
  return http.post('/api/auth/getMsgRecord',{AppBizId,count,sessionId});
}
export const describeStorageCredential = (formData) => {
  return http.post('/api/auth/describeStorageCredential',formData,{
    headers: {
      'Content-Type': 'multipart/form-data',
    }
  })
}

export const describeApp = (AppBizId) => {
  return http.post('/api/auth/describeApp',{AppBizId});
}

export const getDemoToken = (appId) => {
  return http.post('/api/chat/getDemoToken',{appId});
}